﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using eProject_SEM3_SecurityServices.Bussiness;

namespace eProject_SEM3_SecurityServices
{
    public partial class WebForm4 : System.Web.UI.Page
    {
        BCustomerServices bcs = null;
        BService bs = null;
        BEmployee be = null;
        BCustomer bc = null;
        BContract bcontract = null;
        BContractDetail bcd = null;
        protected void Page_Load(object sender, EventArgs e)
        {
            bcs = new BCustomerServices();
            bs = new BService();
            be = new BEmployee();
            bc = new BCustomer();
            bcontract = new BContract();
            bcd = new BContractDetail();
            if (IsPostBack == false)
            {
                BindData();
            }
        }
        public void BindData()
        {
            grvManagerBussiness.DataSource = bcs.getListCustomerService();
            grvManagerBussiness.DataBind();
        }
    }
}